{"ast":null,"code":"import _defineProperty from \"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nimport _slicedToArray from \"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/slicedToArray.js\";\nimport RightOutlined from \"@ant-design/icons/es/icons/RightOutlined\";\nimport classNames from 'classnames';\nimport RcDropdown from 'rc-dropdown';\nimport useEvent from \"rc-util/es/hooks/useEvent\";\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport * as React from 'react';\nimport Menu from '../menu';\nimport { ConfigContext } from '../config-provider';\nimport { OverrideProvider } from '../menu/OverrideContext';\nimport genPurePanel from '../_util/PurePanel';\nimport getPlacements from '../_util/placements';\nimport { cloneElement } from '../_util/reactNode';\nimport warning from '../_util/warning';\nimport { NoCompactStyle } from '../space/Compact';\nimport DropdownButton from './dropdown-button';\nimport useStyle from './style';\nvar Placements = ['topLeft', 'topCenter', 'topRight', 'bottomLeft', 'bottomCenter', 'bottomRight', 'top', 'bottom'];\nvar Dropdown = function Dropdown(props) {\n  var _React$useContext = React.useContext(ConfigContext),\n    getContextPopupContainer = _React$useContext.getPopupContainer,\n    getPrefixCls = _React$useContext.getPrefixCls,\n    direction = _React$useContext.direction;\n  // Warning for deprecated usage\n  if (process.env.NODE_ENV !== 'production') {\n    [['visible', 'open'], ['onVisibleChange', 'onOpenChange']].forEach(function (_ref) {\n      var _ref4 = _slicedToArray(_ref, 2),\n        deprecatedName = _ref4[0],\n        newName = _ref4[1];\n      process.env.NODE_ENV !== \"production\" ? warning(!(deprecatedName in props), 'Dropdown', \"`\".concat(deprecatedName, \"` is deprecated which will be removed in next major version, please use `\").concat(newName, \"` instead.\")) : void 0;\n    });\n    process.env.NODE_ENV !== \"production\" ? warning(!('overlay' in props), 'Dropdown', '`overlay` is deprecated. Please use `menu` instead.') : void 0;\n  }\n  var getTransitionName = function getTransitionName() {\n    var rootPrefixCls = getPrefixCls();\n    var _props$placement = props.placement,\n      placement = _props$placement === void 0 ? '' : _props$placement,\n      transitionName = props.transitionName;\n    if (transitionName !== undefined) {\n      return transitionName;\n    }\n    if (placement.includes('top')) {\n      return \"\".concat(rootPrefixCls, \"-slide-down\");\n    }\n    return \"\".concat(rootPrefixCls, \"-slide-up\");\n  };\n  var getPlacement = function getPlacement() {\n    var placement = props.placement;\n    if (!placement) {\n      return direction === 'rtl' ? 'bottomRight' : 'bottomLeft';\n    }\n    if (placement.includes('Center')) {\n      var newPlacement = placement.slice(0, placement.indexOf('Center'));\n      process.env.NODE_ENV !== \"production\" ? warning(!placement.includes('Center'), 'Dropdown', \"You are using '\".concat(placement, \"' placement in Dropdown, which is deprecated. Try to use '\").concat(newPlacement, \"' instead.\")) : void 0;\n      return newPlacement;\n    }\n    return placement;\n  };\n  var menu = props.menu,\n    arrow = props.arrow,\n    customizePrefixCls = props.prefixCls,\n    children = props.children,\n    trigger = props.trigger,\n    disabled = props.disabled,\n    dropdownRender = props.dropdownRender,\n    getPopupContainer = props.getPopupContainer,\n    overlayClassName = props.overlayClassName,\n    open = props.open,\n    onOpenChange = props.onOpenChange,\n    visible = props.visible,\n    onVisibleChange = props.onVisibleChange,\n    _props$mouseEnterDela = props.mouseEnterDelay,\n    mouseEnterDelay = _props$mouseEnterDela === void 0 ? 0.15 : _props$mouseEnterDela,\n    _props$mouseLeaveDela = props.mouseLeaveDelay,\n    mouseLeaveDelay = _props$mouseLeaveDela === void 0 ? 0.1 : _props$mouseLeaveDela;\n  if (process.env.NODE_ENV !== 'production') {\n    [['visible', 'open'], ['onVisibleChange', 'onOpenChange']].forEach(function (_ref2) {\n      var _ref5 = _slicedToArray(_ref2, 2),\n        deprecatedName = _ref5[0],\n        newName = _ref5[1];\n      process.env.NODE_ENV !== \"production\" ? warning(!(deprecatedName in props), 'Dropdown', \"`\".concat(deprecatedName, \"` is deprecated, please use `\").concat(newName, \"` instead.\")) : void 0;\n    });\n  }\n  var prefixCls = getPrefixCls('dropdown', customizePrefixCls);\n  var _useStyle = useStyle(prefixCls),\n    _useStyle2 = _slicedToArray(_useStyle, 2),\n    wrapSSR = _useStyle2[0],\n    hashId = _useStyle2[1];\n  var child = React.Children.only(children);\n  var dropdownTrigger = cloneElement(child, {\n    className: classNames(\"\".concat(prefixCls, \"-trigger\"), _defineProperty({}, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), child.props.className),\n    disabled: disabled\n  });\n  var triggerActions = disabled ? [] : trigger;\n  var alignPoint;\n  if (triggerActions && triggerActions.includes('contextMenu')) {\n    alignPoint = true;\n  }\n  // =========================== Open ============================\n  var _useMergedState = useMergedState(false, {\n      value: open !== null && open !== void 0 ? open : visible\n    }),\n    _useMergedState2 = _slicedToArray(_useMergedState, 2),\n    mergedOpen = _useMergedState2[0],\n    setOpen = _useMergedState2[1];\n  var onInnerOpenChange = useEvent(function (nextOpen) {\n    onOpenChange === null || onOpenChange === void 0 ? void 0 : onOpenChange(nextOpen);\n    onVisibleChange === null || onVisibleChange === void 0 ? void 0 : onVisibleChange(nextOpen);\n    setOpen(nextOpen);\n  });\n  // =========================== Overlay ============================\n  var overlayClassNameCustomized = classNames(overlayClassName, hashId, _defineProperty({}, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'));\n  var builtinPlacements = getPlacements({\n    arrowPointAtCenter: typeof arrow === 'object' && arrow.pointAtCenter,\n    autoAdjustOverflow: true\n  });\n  var onMenuClick = React.useCallback(function () {\n    setOpen(false);\n  }, []);\n  var renderOverlay = function renderOverlay() {\n    // rc-dropdown already can process the function of overlay, but we have check logic here.\n    // So we need render the element to check and pass back to rc-dropdown.\n    var overlay = props.overlay;\n    var overlayNode;\n    if (menu === null || menu === void 0 ? void 0 : menu.items) {\n      overlayNode = /*#__PURE__*/React.createElement(Menu, Object.assign({}, menu));\n    } else if (typeof overlay === 'function') {\n      overlayNode = overlay();\n    } else {\n      overlayNode = overlay;\n    }\n    if (dropdownRender) {\n      overlayNode = dropdownRender(overlayNode);\n    }\n    overlayNode = React.Children.only(typeof overlayNode === 'string' ? /*#__PURE__*/React.createElement(\"span\", null, overlayNode) : overlayNode);\n    return /*#__PURE__*/React.createElement(OverrideProvider, {\n      prefixCls: \"\".concat(prefixCls, \"-menu\"),\n      expandIcon: /*#__PURE__*/React.createElement(\"span\", {\n        className: \"\".concat(prefixCls, \"-menu-submenu-arrow\")\n      }, /*#__PURE__*/React.createElement(RightOutlined, {\n        className: \"\".concat(prefixCls, \"-menu-submenu-arrow-icon\")\n      })),\n      mode: \"vertical\",\n      selectable: false,\n      onClick: onMenuClick,\n      validator: function validator(_ref3) {\n        var mode = _ref3.mode;\n        // Warning if use other mode\n        process.env.NODE_ENV !== \"production\" ? warning(!mode || mode === 'vertical', 'Dropdown', \"mode=\\\"\".concat(mode, \"\\\" is not supported for Dropdown's Menu.\")) : void 0;\n      }\n    }, /*#__PURE__*/React.createElement(NoCompactStyle, null, overlayNode));\n  };\n  // ============================ Render ============================\n  return wrapSSR( /*#__PURE__*/React.createElement(RcDropdown, Object.assign({\n    alignPoint: alignPoint\n  }, props, {\n    mouseEnterDelay: mouseEnterDelay,\n    mouseLeaveDelay: mouseLeaveDelay,\n    visible: mergedOpen,\n    builtinPlacements: builtinPlacements,\n    arrow: !!arrow,\n    overlayClassName: overlayClassNameCustomized,\n    prefixCls: prefixCls,\n    getPopupContainer: getPopupContainer || getContextPopupContainer,\n    transitionName: getTransitionName(),\n    trigger: triggerActions,\n    overlay: renderOverlay,\n    placement: getPlacement(),\n    onVisibleChange: onInnerOpenChange\n  }), dropdownTrigger));\n};\nDropdown.Button = DropdownButton;\n// We don't care debug panel\nvar PurePanel = genPurePanel(Dropdown, 'dropdown', function (prefixCls) {\n  return prefixCls;\n});\n/* istanbul ignore next */\nvar WrapPurePanel = function WrapPurePanel(props) {\n  return /*#__PURE__*/React.createElement(PurePanel, Object.assign({}, props), /*#__PURE__*/React.createElement(\"span\", null));\n};\nDropdown._InternalPanelDoNotUseOrYouWillBeFired = WrapPurePanel;\nexport default Dropdown;","map":{"version":3,"names":["RightOutlined","classNames","RcDropdown","useEvent","useMergedState","React","Menu","ConfigContext","OverrideProvider","genPurePanel","getPlacements","cloneElement","warning","NoCompactStyle","DropdownButton","useStyle","Placements","Dropdown","props","useContext","getContextPopupContainer","getPopupContainer","getPrefixCls","direction","process","env","NODE_ENV","forEach","_ref","deprecatedName","newName","getTransitionName","rootPrefixCls","placement","transitionName","undefined","includes","getPlacement","newPlacement","slice","indexOf","menu","arrow","customizePrefixCls","prefixCls","children","trigger","disabled","dropdownRender","overlayClassName","open","onOpenChange","visible","onVisibleChange","mouseEnterDelay","mouseLeaveDelay","_ref2","wrapSSR","hashId","child","Children","only","dropdownTrigger","className","triggerActions","alignPoint","value","mergedOpen","setOpen","onInnerOpenChange","nextOpen","overlayClassNameCustomized","builtinPlacements","arrowPointAtCenter","pointAtCenter","autoAdjustOverflow","onMenuClick","useCallback","renderOverlay","overlay","overlayNode","items","createElement","Object","assign","expandIcon","mode","selectable","onClick","validator","_ref3","Button","PurePanel","WrapPurePanel","_InternalPanelDoNotUseOrYouWillBeFired"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/antd/es/dropdown/dropdown.js"],"sourcesContent":["import RightOutlined from \"@ant-design/icons/es/icons/RightOutlined\";\nimport classNames from 'classnames';\nimport RcDropdown from 'rc-dropdown';\nimport useEvent from \"rc-util/es/hooks/useEvent\";\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport * as React from 'react';\nimport Menu from '../menu';\nimport { ConfigContext } from '../config-provider';\nimport { OverrideProvider } from '../menu/OverrideContext';\nimport genPurePanel from '../_util/PurePanel';\nimport getPlacements from '../_util/placements';\nimport { cloneElement } from '../_util/reactNode';\nimport warning from '../_util/warning';\nimport { NoCompactStyle } from '../space/Compact';\nimport DropdownButton from './dropdown-button';\nimport useStyle from './style';\nconst Placements = ['topLeft', 'topCenter', 'topRight', 'bottomLeft', 'bottomCenter', 'bottomRight', 'top', 'bottom'];\nconst Dropdown = props => {\n  const {\n    getPopupContainer: getContextPopupContainer,\n    getPrefixCls,\n    direction\n  } = React.useContext(ConfigContext);\n  // Warning for deprecated usage\n  if (process.env.NODE_ENV !== 'production') {\n    [['visible', 'open'], ['onVisibleChange', 'onOpenChange']].forEach(_ref => {\n      let [deprecatedName, newName] = _ref;\n      process.env.NODE_ENV !== \"production\" ? warning(!(deprecatedName in props), 'Dropdown', `\\`${deprecatedName}\\` is deprecated which will be removed in next major version, please use \\`${newName}\\` instead.`) : void 0;\n    });\n    process.env.NODE_ENV !== \"production\" ? warning(!('overlay' in props), 'Dropdown', '`overlay` is deprecated. Please use `menu` instead.') : void 0;\n  }\n  const getTransitionName = () => {\n    const rootPrefixCls = getPrefixCls();\n    const {\n      placement = '',\n      transitionName\n    } = props;\n    if (transitionName !== undefined) {\n      return transitionName;\n    }\n    if (placement.includes('top')) {\n      return `${rootPrefixCls}-slide-down`;\n    }\n    return `${rootPrefixCls}-slide-up`;\n  };\n  const getPlacement = () => {\n    const {\n      placement\n    } = props;\n    if (!placement) {\n      return direction === 'rtl' ? 'bottomRight' : 'bottomLeft';\n    }\n    if (placement.includes('Center')) {\n      const newPlacement = placement.slice(0, placement.indexOf('Center'));\n      process.env.NODE_ENV !== \"production\" ? warning(!placement.includes('Center'), 'Dropdown', `You are using '${placement}' placement in Dropdown, which is deprecated. Try to use '${newPlacement}' instead.`) : void 0;\n      return newPlacement;\n    }\n    return placement;\n  };\n  const {\n    menu,\n    arrow,\n    prefixCls: customizePrefixCls,\n    children,\n    trigger,\n    disabled,\n    dropdownRender,\n    getPopupContainer,\n    overlayClassName,\n    open,\n    onOpenChange,\n    // Deprecated\n    visible,\n    onVisibleChange,\n    mouseEnterDelay = 0.15,\n    mouseLeaveDelay = 0.1\n  } = props;\n  if (process.env.NODE_ENV !== 'production') {\n    [['visible', 'open'], ['onVisibleChange', 'onOpenChange']].forEach(_ref2 => {\n      let [deprecatedName, newName] = _ref2;\n      process.env.NODE_ENV !== \"production\" ? warning(!(deprecatedName in props), 'Dropdown', `\\`${deprecatedName}\\` is deprecated, please use \\`${newName}\\` instead.`) : void 0;\n    });\n  }\n  const prefixCls = getPrefixCls('dropdown', customizePrefixCls);\n  const [wrapSSR, hashId] = useStyle(prefixCls);\n  const child = React.Children.only(children);\n  const dropdownTrigger = cloneElement(child, {\n    className: classNames(`${prefixCls}-trigger`, {\n      [`${prefixCls}-rtl`]: direction === 'rtl'\n    }, child.props.className),\n    disabled\n  });\n  const triggerActions = disabled ? [] : trigger;\n  let alignPoint;\n  if (triggerActions && triggerActions.includes('contextMenu')) {\n    alignPoint = true;\n  }\n  // =========================== Open ============================\n  const [mergedOpen, setOpen] = useMergedState(false, {\n    value: open !== null && open !== void 0 ? open : visible\n  });\n  const onInnerOpenChange = useEvent(nextOpen => {\n    onOpenChange === null || onOpenChange === void 0 ? void 0 : onOpenChange(nextOpen);\n    onVisibleChange === null || onVisibleChange === void 0 ? void 0 : onVisibleChange(nextOpen);\n    setOpen(nextOpen);\n  });\n  // =========================== Overlay ============================\n  const overlayClassNameCustomized = classNames(overlayClassName, hashId, {\n    [`${prefixCls}-rtl`]: direction === 'rtl'\n  });\n  const builtinPlacements = getPlacements({\n    arrowPointAtCenter: typeof arrow === 'object' && arrow.pointAtCenter,\n    autoAdjustOverflow: true\n  });\n  const onMenuClick = React.useCallback(() => {\n    setOpen(false);\n  }, []);\n  const renderOverlay = () => {\n    // rc-dropdown already can process the function of overlay, but we have check logic here.\n    // So we need render the element to check and pass back to rc-dropdown.\n    const {\n      overlay\n    } = props;\n    let overlayNode;\n    if (menu === null || menu === void 0 ? void 0 : menu.items) {\n      overlayNode = /*#__PURE__*/React.createElement(Menu, Object.assign({}, menu));\n    } else if (typeof overlay === 'function') {\n      overlayNode = overlay();\n    } else {\n      overlayNode = overlay;\n    }\n    if (dropdownRender) {\n      overlayNode = dropdownRender(overlayNode);\n    }\n    overlayNode = React.Children.only(typeof overlayNode === 'string' ? /*#__PURE__*/React.createElement(\"span\", null, overlayNode) : overlayNode);\n    return /*#__PURE__*/React.createElement(OverrideProvider, {\n      prefixCls: `${prefixCls}-menu`,\n      expandIcon: /*#__PURE__*/React.createElement(\"span\", {\n        className: `${prefixCls}-menu-submenu-arrow`\n      }, /*#__PURE__*/React.createElement(RightOutlined, {\n        className: `${prefixCls}-menu-submenu-arrow-icon`\n      })),\n      mode: \"vertical\",\n      selectable: false,\n      onClick: onMenuClick,\n      validator: _ref3 => {\n        let {\n          mode\n        } = _ref3;\n        // Warning if use other mode\n        process.env.NODE_ENV !== \"production\" ? warning(!mode || mode === 'vertical', 'Dropdown', `mode=\"${mode}\" is not supported for Dropdown's Menu.`) : void 0;\n      }\n    }, /*#__PURE__*/React.createElement(NoCompactStyle, null, overlayNode));\n  };\n  // ============================ Render ============================\n  return wrapSSR( /*#__PURE__*/React.createElement(RcDropdown, Object.assign({\n    alignPoint: alignPoint\n  }, props, {\n    mouseEnterDelay: mouseEnterDelay,\n    mouseLeaveDelay: mouseLeaveDelay,\n    visible: mergedOpen,\n    builtinPlacements: builtinPlacements,\n    arrow: !!arrow,\n    overlayClassName: overlayClassNameCustomized,\n    prefixCls: prefixCls,\n    getPopupContainer: getPopupContainer || getContextPopupContainer,\n    transitionName: getTransitionName(),\n    trigger: triggerActions,\n    overlay: renderOverlay,\n    placement: getPlacement(),\n    onVisibleChange: onInnerOpenChange\n  }), dropdownTrigger));\n};\nDropdown.Button = DropdownButton;\n// We don't care debug panel\nconst PurePanel = genPurePanel(Dropdown, 'dropdown', prefixCls => prefixCls);\n/* istanbul ignore next */\nconst WrapPurePanel = props => /*#__PURE__*/React.createElement(PurePanel, Object.assign({}, props), /*#__PURE__*/React.createElement(\"span\", null));\nDropdown._InternalPanelDoNotUseOrYouWillBeFired = WrapPurePanel;\nexport default Dropdown;"],"mappings":";;AAAA,OAAOA,aAAa,MAAM,0CAA0C;AACpE,OAAOC,UAAU,MAAM,YAAY;AACnC,OAAOC,UAAU,MAAM,aAAa;AACpC,OAAOC,QAAQ,MAAM,2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